package com.gb.demand.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gb.demand.common.entity.Accessory;
import com.gb.demand.common.entity.Apilog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Options;
import org.springframework.stereotype.Repository;

/**
 * 应用模块名称
 * <p>
 *
 * @author wengjiangle
 * @since 2020/7/13
 */
@Repository
public interface ApilogMapper extends BaseMapper<Apilog> {
    @Insert("insert into wemall_apilog (addTime,deleteStatus,invokeapi,beinvokedapi,caller,inputvalue,outputvalue,remark) " +
            " values (#{addTime},#{deleteStatus},#{invokeapi},#{beinvokedapi},#{caller},#{inputvalue},#{outputvalue},#{remark})")
    @Options(useGeneratedKeys = true,keyColumn = "id",keyProperty = "id")
    Integer insertapilog(Apilog apilog);
}
